package com.bookhouse.service.impl;

import com.bookhouse.dao.BaseDao;
import com.bookhouse.dao.ReaderTypeDao;
import com.bookhouse.entity.ReaderType;
import com.bookhouse.service.BaseService;
import com.bookhouse.service.ReaderTypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by CiusCheung on 16/4/18.
 */
@Service("readerTypeService")
public class ReaderTypeServiceImpl extends BaseServiceImpl<ReaderType> implements ReaderTypeService{
    @Resource(name = "readerTypeDao")
    private ReaderTypeDao readerTypeDao;
    @Override
    protected BaseDao<ReaderType> getDao() {
        return readerTypeDao;
    }
}
